projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c6268c
)
Simplify last change to ido.el
author
Leo Liu
<sdl.web@gmail.com>
Mon, 24 Jun 2013 04:08:10 +0000
(12:08 +0800)
committer
Leo Liu
<sdl.web@gmail.com>
Mon, 24 Jun 2013 04:08:10 +0000
(12:08 +0800)
lisp/ido.el
patch
|
blob
|
history
diff --git
a/lisp/ido.el
b/lisp/ido.el
index 78d0112f4c4dc0295643afefdf1bc21bbb82cc36..daa090d5d6f323e3a346911dee42db9a871cfc41 100644
(file)
--- a/
lisp/ido.el
+++ b/
lisp/ido.el
@@
-2141,9
+2141,9
@@
If INITIAL is non-nil, it specifies the initial input string."
done t)
(setq ido-set-default-item t)))
- ((if (memq system-type '(windows-nt ms-dos))
- (string-match "\\`[a-zA-Z]:\\|[\\][^\\]" ido-selected)
-
(string-match "/[^/]" ido-selected)
)
+ ((
string-match (
if (memq system-type '(windows-nt ms-dos))
+ "\\`[a-zA-Z]:\\|[\\][^\\]"
+
"/[^/]") ido-selected
)
(ido-set-current-directory (file-name-directory ido-selected))
(setq ido-set-default-item t))